package com.briup.demo.config;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseBody;

import com.briup.demo.common.Response;

/*
 * @ControllerAdvice public class GloableExceptionHandler {
 * 
 * @ExceptionHandler(value = {Exception.class})
 * 
 * @ResponseBody public Response<String> exceptionRespones(Exception e){
 * 
 * } }
 */
